package com.ztgf.commodity.models.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * author: chenyu.wang
 * date: 2020-05-29 17:16
 * Description: 商城商品评价页VO
 */
@Data
public class CommodityEvaluationPageVO implements Serializable {

    @ApiModelProperty(value = "评价表id")
    private Long id;
    @ApiModelProperty(value = "卖家店铺id")
    private Long sellerShopId;
    @ApiModelProperty(value = "卖家店铺名称")
    private String sellerShopName;
    @ApiModelProperty(value = "买家店铺id")
    private Long shopId;
    @ApiModelProperty(value = "买家店铺名称")
    private String shopName;
    @ApiModelProperty(value = "买家店铺logo")
    private String shopUrl;
    @ApiModelProperty(value = "买家店铺地址")
    private String shopAddress;
    @ApiModelProperty(value = "图片地址，多个以逗号隔开")
    private String imgUrls;
    @ApiModelProperty(value = "视频地址，多个以逗号隔开")
    private String videoUrls;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "内容类型 0文字，1图文，2视频")
    private Integer contentType;
    @ApiModelProperty(value = "服务态度 1、2、3、4、5星")
    private Integer serviceEvaluation;
    @ApiModelProperty(value = "物流评价 1、2、3、4、5星")
    private Integer logisticsEvaluation;
    @ApiModelProperty(value = "商品评价 1、2、3、4、5星")
    private Integer commodityEvaluation;
    @ApiModelProperty(value = "综合评价 0好评，1差评")
    private Integer compositeEvaluation;
    @ApiModelProperty(value = "状态 0正常、1删除")
    private Integer state;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "商品id")
    private Long commodityId;
    @ApiModelProperty(value = "类型 0评价、1回复、2追评")
    private Integer type;
    @ApiModelProperty(value = "父id")
    private Long parentId;
    @ApiModelProperty(value = "印象标签名称，用逗号隔开")
    private String impressionLabel;
    @ApiModelProperty(value = "评价时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date evaluationTime;
    @ApiModelProperty(value = "星级")
    private Integer starLevel;
    @ApiModelProperty(value = "订单商品表id")
    private Long goodsItemId;
    @ApiModelProperty(value = "评价下级")
    private List<CommodityEvaluationPageVO> underList;
}
